home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 111 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  43 lines

  1. Path: news.mel.aone.net.au!usenet
  2. From: clyde@hitech.com.au (Clyde Smith-Stubbs)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP: Search C/C++ compiler for Intel 8051 processor
  5. Date: Mon, 01 Jan 1996 23:00:21 GMT
  6. Organization: HI-TECH Software
  7. Message-ID: <30e86673.994760192@news.bne.aone.net.au>
  8. References: <DK2K3y.1K8@actcom.co.il> <4bu6hr$k95@felix.teclink.net>
  9. Reply-To: clyde@hitech.com.au
  10. NNTP-Posting-Host: skyhawk.hitech.com.au
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. On 28 Dec 1995 13:36:59 GMT, John Kleinjans <johnk@teclink.net> wrote:
  14.  
  15. >Pacific is purported to be a cross-platform C compiler. Try
  16. >http://www.hitech.com.au/
  17.  
  18. Pacific C is not cross-platform, but our main product line is HI-TECH
  19. C, a range of cross compilers for various chips, including the 8051.
  20. HI-TECH C is a commercial product (unlike Pacific C which is
  21. shareware/freeware), however there is a working demo of the 8051
  22. compiler available for download (restricted to 1K code plus
  23. libraries).
  24.  
  25. >#include <stdio.h>
  26. >main() {
  27. >   float x = 2;
  28. >   printf ("x == %f", x);
  29. >}
  30. >
  31. >produces 
  32. >
  33. >x == (non-float printf)
  34.  
  35. Go to the Options menu and turn on "Float formats in printf()". The
  36. default version of printf is integer only, so save space.
  37.  Clyde Smith-Stubbs       | HI-TECH Software,       | Voice: +61 7 3300 5011
  38.  clyde@hitech.com.au      | P.O. Box 103, Alderley, | Fax:   +61 7 3300 5246
  39. http://www.hitech.com.au  | QLD, 4051, AUSTRALIA.   | BBS:   +61 7 3300 5235
  40. ----------------------------------------------------------------------------
  41. FREE! Download our shareware (FREE for noncommercial use) MS-DOS C Compiler!
  42.              Point your Web browser at http://www.hitech.com.au/
  43.